package com.utils;

import java.io.InputStream;
import java.util.Properties;

public class SqlUtils {

    private static Properties properties = new Properties();

    static {
        InputStream inputStream = DBUtils.class.getResourceAsStream("/sql.properties");
        try {
            properties.load(inputStream);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public static String getSql(String key) {

        return properties.getProperty(key);
    }
}
